/*
package com.ruoyi.quartz.service.yqs;

import com.ruoyi.quartz.task.SyncData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.time.LocalTime;
import java.util.Date;

@Component

public class TimeData {
    private static final Logger log = LoggerFactory.getLogger(TimeData.class);
    @Autowired
    private SyncData syncData;

    @Scheduled(cron = "0 0/5 * * * ?")
    public void time(){
        log.info("当前时间===="+new Date().toString());
        syncData.sysncZjWeavereport2Mes("66");
        syncData.syncJsWeavereport2Mes("66");
        syncData.syncSzWeavereport2Mes("66");
        syncData.syncKzWeavereport2Mes("66");
        syncData.syncXjWeavereport2Mes("66");
        syncData.syncCzWeavereport2Mes("66");
        syncData.syncLbWeavereport2Mes("66");
        syncData.syncXbWeavereport2Mes("66");
        syncData.syncZBCLWeavereport2Mes("66");
        //syncData.syncJjWeavereport2Mes("66");
    }


}
*/
